package com.i2works.smartluolong.web.dal.company.dao;

import com.i2works.smartluolong.utils.basecommon.BaseCommonDAO;
import com.i2works.smartluolong.utils.exception.DAOException;
import com.i2works.smartluolong.web.entity.company.CompanyChangeDO;
import com.i2works.smartluolong.web.entity.company.CompanyChangeQuery;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 工商变更、备案 - 持久层接口
 *
 * @author Liu Yutao <koal@vip.qq.com>
 * @date 2018/3/14 16:36
 */

@Mapper
@Repository("companyChangeDAO")
public interface ICompanyChangeDAO extends BaseCommonDAO<CompanyChangeQuery,CompanyChangeDO> {

    /**
     * 获取审核人员可管理的申请列表
     */
    List<CompanyChangeDO> queryListByAuditor(CompanyChangeQuery query) throws DAOException;

    /**
     * 获取审核人员可管理的申请列表统计
     */
    Integer queryCountByAuditor(CompanyChangeQuery query) throws DAOException;
}
